﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BudgetMaintain.aspx.cs" Inherits="H2.NET.Web.Pages.SMD.InStock.BudgetMaintain" %>
<%@ Import Namespace="H2.NET.Common" %>

<div class="pageContent">
    <form method="post" action="Pages/SMD/InStock/BudgetMaintain.aspx?action=save" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
    <div class="pageFormContent" layoutH="49">
        <asp:repeater runat="server" id="rpt_balancebudget">
            <ItemTemplate>
                <p>
                    <label><%#Eval("Name")%>：</label><%# Utils.StrToDecimal(Eval("Value").ToString(), 0).ToString("N")%>
                </p>
                <p>
                    <label>增加预算：</label>
	                <input name="budget['<%#Eval("Code")%>']" class="number" type="text" size="30" style="text-align:left;" />
                </p>
            </ItemTemplate>
        </asp:repeater>
    </div>
    <div class="formBar">
	    <ul>
		    <li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交数据</button></div></div></li>
		    <li><div class="button"><div class="buttonContent"><button type="button" class="close">关闭窗体</button></div></div></li>
	    </ul>
    </div>
    </form>
</div>